package com.google.code.twithis.core.processor.impl;

import net.rim.blackberry.api.pdap.BlackBerryMemo;

import com.google.code.twithis.core.processor.Processor;

public class MemoProcessor implements Processor {

	public String getMessage(Object context) {
		BlackBerryMemo memo = (BlackBerryMemo) context;

		String title = memo.getString(BlackBerryMemo.TITLE, BlackBerryMemo.ATTR_NONE);
		String note = memo.getString(BlackBerryMemo.NOTE, BlackBerryMemo.ATTR_NONE);

		return title + " - " + note;
	}

}
